import Vue from 'vue'
import App from './App'
import './uni.promisify.adaptor'
import api2 from '@/util/vmeitime-http/'
import store from './store'; // 引入store


Vue.prototype.$api2 = api2
Vue.config.productionTip = false

App.mpType = 'app'

// 引入全局TuniaoUI

import uView from './uni_modules/uview-ui'
Vue.use(uView)
//Vue.prototype.towxml = require('./static/towxml/index.js')

//引入全局请求插件
import {
  http,
  api
} from '@/util/common.js' // 全局挂载引入，配置相关在该index.js文件里修改
Vue.prototype.$http = http
Vue.prototype.$api = api




const app = new Vue({
  store, 
  ...App
})



app.$mount()